org.eclipse.vtp.framework.common.actions
Class ForwardAction

java.lang.Object
  extended by org.eclipse.vtp.framework.common.actions.ForwardAction
All Implemented Interfaces:
IAction

public class ForwardAction
extends java.lang.Object
implements IAction

An action that terminates the current process and forwards control to another process.

Author:
Lonnie Pryor

Constructor Summary
ForwardAction(IActionContext context, IController controller, DispatchConfiguration configuration)
          Creates a new ForwardAction.
 
Method Summary
 IActionResult execute()
          Executes this action and returns its outcome.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardAction

public ForwardAction(IActionContext context,
                     IController controller,
                     DispatchConfiguration configuration)
Creates a new ForwardAction.

Parameters:
context - The context that contains this action.
controller - The controller to enqueue with.
configuration - The configuration for this forward action.
Method Detail

execute

public IActionResult execute()
Description copied from interface: IAction
Executes this action and returns its outcome.

Specified by:
execute in interface IAction
Returns:
An object representing the outcome of this action.